import { uiwu } from "@/api/interface/interface"

/** 获取用户可以充值营销币数值 **/
export const getUserRechargeCoinApi = async(): Promise<any> => {
    return await uiwu.get({
        url: `fans/getUserRechargeCoin`,
    })
}

/** 用户确定充值营销币 **/
export const doUserRechargeMarketCoinApi = async(data: object): Promise<any> => {
    return await uiwu.post({
        url: 'fans/doUserRechargeMarketCoin',
        data
    })
}

/** 获取充值营销明细 **/
export const getRechargeMarketCoinListApi = async(data: object): Promise<any> => {
    return await uiwu.get({
        url: 'fans/getRechargeMarketCoinList',
        data
    })
}

/** 获取营销明细 **/
export const getMarketCoinListApi = async(data: object): Promise<any> => {
    return await uiwu.get({
        url: 'fans/getMarketCoinList',
        data
    })
}

/** 派币 **/
export const doNowPaiCoinApi = async(data: object): Promise<any> => {
    return await uiwu.post({
        url: 'fans/doNowPaiCoin',
        data
    })
}
